-- GENERATED SPELL FOR [Elder Thunder Lizard] --


function spell0_4727(pUnit, Event) --@Lizard Bolt,n/a--
pUnit:FullCastSpellOnTarget(5401,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4727', 2000, 1)
end

function Sorts_4727(pUnit, Event)
local choix_sorts_4727 = math.random(0, 0)
if choix_sorts_4727 == 0 then
pUnit:RegisterEvent('spell0_4727', 1, 1)
end
end

function mob4727_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4727', math.random(1500, 3000), 1)
end

function mob4727_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4727_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4727_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4727, 1, 'mob4727_Action')
RegisterUnitEvent(4727, 2, 'mob4727_Leave')
RegisterUnitEvent(4727, 3, 'mob4727_Kill')
RegisterUnitEvent(4727, 4, 'mob4727_Die')
